﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProblemaShowroom
{
    abstract class Car
    {
        private string _color;
        private string _transmission;

        protected string _engine;
        protected string _equipment;
        protected string _size;

        public Car(string color, string transmission)
        {
            _color = color;
            _transmission = transmission;
        }

        public virtual void DisplayCar() 
        {
            Console.WriteLine("Color: {0}\nTransmission: {1}", _color, _transmission);
        }

        public string Color
        {
            get { return _color; }
        }

        public string Transmission
        {
            get { return _transmission; }
        }

        public string Engine
        {
            get { return _engine; }
        }

        public string Equipment
        {
            get { return _equipment; }
        }

        public string Size
        {
            get { return _size; }
        }

        internal void Init(string color, string transmission)
        {
            _color = color;
            _transmission = transmission;
        }
    }
}